IsWDDX(value)

IsWDDX was added in ColdFusion 4.5.1, SP2. IsWDDX returns TRUE if the value is a well formed WDDX packet, FALSE if not.

value

A WDDX packet.

This function processes the WDDX packet specified in value using a validating XML parser which uses the WDDX DTD (Document Type Definition). If the parser processes the value without errors, TRUE is returned. If the value is not a well formed WDDX packet, the function returns FALSE.

You can use this function to validate WDDX packets from unknown sources to prevent CFWDDX deserialization errors.